package com.coderman.basketball.infrast.gatawayimpl.activity;

import com.coderman.basketball.domain.gataway.activity.GameRepository;
import com.coderman.basketball.domain.model.activity.GameAggregateBO;
import com.coderman.basketball.domain.model.activity.GameBO;
import com.coderman.basketball.domain.model.activity.GamePlayerBO;
import com.coderman.basketball.infrast.dao.mapper.activity.GameMapper;
import com.coderman.basketball.infrast.dao.mapper.activity.GamePlayerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Description:
 * date: 2021/5/31
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
@Service
public class GameRepositoryImpl implements GameRepository {

    @Resource
    private GameMapper gameMapper;

    @Resource
    private GamePlayerMapper gamePlayerMapper;

    @Override
    public List<Long> importGameList(List<GameBO> gameList) {

        return null;
    }

    @Override
    public GameAggregateBO getByGameId(GameAggregateBO gameAggregateBO) {

        return gameAggregateBO;
    }

    @Override
    public void initGamePlayer(GameAggregateBO gameAggregateBO) {

    }

}
